import { createApp } from 'vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
import App from './App.vue'
import 'normalize.css'

const app = createApp(App)
// init pinia
const store = createPinia()
store.use(piniaPluginPersist)
// init router
app.use(router)
// mount app
app.mount('#app')
